cmake_minimum_required(VERSION 3.20.0)

project(PrivateAssistant)

set(CMAKE_CXX_STANDARD 17)

set(JSON_HOME ${CMAKE_SOURCE_DIR}/3rd/json)
set(JSON_INCLUDE_DIR ${JSON_HOME}/include)

include(${CMAKE_SOURCE_DIR}/3rd/unlib.cmake)

add_subdirectory(${CMAKE_SOURCE_DIR}/src)
add_subdirectory(${CMAKE_SOURCE_DIR}/3rd/googletest)
add_subdirectory(${CMAKE_SOURCE_DIR}/unittest)